package com.goods.business.service;

import com.goods.common.model.business.ProductCategory;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface ProductCategoryService {

    PageVO<ProductCategoryTreeNodeVO> categoryTree(Integer pageNum, Integer pageSize);

    void add(ProductCategory productCategory);

    List<ProductCategoryTreeNodeVO> getParentCategoryTree();

    ProductCategory edit(Long id);

    void update(ProductCategory productCategory);

    void delete(Long id);
}
